
#import "SMPost.h"
@implementation SMPost
+ (NSDictionary *)mj_replacedKeyFromPropertyName { return @{@"postId":@"id"}; }
- (id<NSObject>)diffIdentifier { return self.postId ?: @""; }
- (BOOL)isEqualToDiffableObject:(id<IGListDiffable>)object {
    if (self == object) return YES;
    SMPost *o = (SMPost *)object;
    return [self.postId isEqualToString:o.postId] &&
           [self.title isEqualToString:o.title] &&
           [self.content isEqualToString:o.content] &&
           ((self.imageURL ?: @"").hash == (o.imageURL ?: @"").hash);
}
@end
